<?php

namespace app\matter\model;

use think\Model;
use think\model\concern\SoftDelete;

class MatterCaseModel extends Model
{
    protected $table = 'm_matter_case';
    use SoftDelete;
    protected $deleteTime = 'delete_time';

    //材料
    public function material()
    {
        return $this->hasMany(MaterialModel::class,  'case_id');
    }

    //审查要点
    public function points()
    {
        return $this->hasMany(MatterReviewPointsModel::class,  'case_id');
    }

}
